package com.mysen.sso.aop.checker;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import com.alibaba.fastjson.JSONObject;
import com.mysen.json.JSONBridge;
import com.mysen.json.JSONParam;

@Component
public class UserCheckJSONBridge extends ParamCheckJSONBridge {
	
    private static final Logger LOGGER = LoggerFactory.getLogger(UserCheckJSONBridge.class);

	@JSONBridge("checkUnique")
	public Boolean checkUnique(String param, @JSONParam("this") JSONObject config) {
		LOGGER.info("exec checkUnique ... param : {}", param);
		return Boolean.TRUE;
	}
}
